package com.example.service.impl;

import com.example.mapper.Usermapper;
import com.example.pojo.User;
import com.example.service.Userservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class UserviceImpl implements Userservice {

    @Autowired
    private Usermapper usermapper;
    @Override
    public Map<String,Object> login(String name,String password) {
        System.out.println("业务成"+usermapper.login(name,password));
        return usermapper.login(name,password);
    }
}
